home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / gem / l_0799 / 758 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  3.6 KB

  1. Date: Tue, 12 Jul 94 23:57 CDT
  2. From: ekl@sdf.lonestar.org (Evan K. Langlois)
  3. To: gem-list@world.std.com
  4. Subject: Buttons Buttons Buttons
  5. Precedence: bulk
  6.  
  7.  
  8. There has been some discussion on buttons, so here is my recommendation.
  9.  
  10. For the sake of simplicity in this suggestion, I will number the buttons
  11. since left and right are ambiguous.  Numbering is as follows.
  12.  
  13. Two Button Mice           Three Button Mice        Four Buttons
  14.     1    2                  1    3   2              1   3   4  2
  15.  
  16. All Applications should use the leftmost (primary) button, #1 for selection
  17. of objects on the desktop and the top window, and in any menus.  The use
  18. of other buttons is as follows :
  19.  
  20. Tool-based Applications : All other buttons are used to select tools.  So,
  21. you assign a tool to a mouse button by clicking on it with that button.  You
  22. can then have 2 active tools on a standard ST mouse and you could even use
  23. them at once (press both buttons).  Other mice will allow you to have
  24. multiple tools assigned, one per button.  To reassign, just select a tool
  25. with that button.  Tool bars are never toppable, so a left click will
  26. be a "click" and not a "top", and when the AES sends a "top" message, just
  27. pretend its a click message.
  28.  
  29. Other Applications : The secondary mouse button is to be used to pop-up a
  30. menu based on the location or window or dialog or icon that you click on.
  31. The second button pops up a menu identicle to the GEM menu bar, except for
  32. being vertical instead of hierarchal, when you click on empty desktop, and
  33. the GEM sub-menus are attached to this.  In a "background" window, the buttons
  34. are "shifted" down one, so that the first button only tops windows, and
  35. the second button is used to select items in a background window.  If that
  36. window has a special pop-menu then you either have to top the window to
  37. use it, or use the THIRD mouse button.
  38.  
  39. Other than that mentioned above, 3rd and 4th mouse buttons can pull up
  40. special menus (that would otherwise be nested in the application's menu)
  41. when these buttons have no other uses (such as any use of 4th mouse buttons
  42. or use of a third mouse button on a foreground window or bare desktop).
  43. These may include font selectors, an info panel, etc.
  44.  
  45. In any case, if you wish to implement a permanent menu that stays on
  46. screen (in a window) after being pop-ed up, then only make the menu
  47. stay on-screen when the unused.  For example, user presses right button
  48. and gets pop-up, and holds right button , going through sub-menus and
  49. finds a menu he wants to use.   His choice is to select a menu item,
  50. making the menu go away, or he can drag the mouse off the menu which 
  51. turns it from a modal menu, into a window with a menu inside that can
  52. moved around, closed, or used.  When used as a window, it stays onscreen
  53. until closed.   Also, this should only be done for right-button menus.
  54. Menus called from a 3rd or 4th button (even if called from a background
  55. window) should never stay in a window, and pop-up info should only stay
  56. until you release the mouse button) although these menus should be
  57. available in the main menu tree.
  58.  
  59. Am I making any sense here?  Probably not.  Anyway, this isn't standard's
  60. proposal, its just a couple suggestions on what to do with extra buttons.
  61.  
  62. Oh .. I forgot to mention this.   NEVER force the user to hold both
  63. buttons to produce any effect.  The only reason to hold two buttons is
  64. to do two things at once (maybe use your brush1 and blur tools at once).
  65. If you can't figure out how to wait for EITHER button, ask someone and
  66. they will explain.  Do NOT hack things by using the right button to
  67. modify the event you get with the left button.  You CAN get separate
  68. left and right button events (although its a bit weird).
  69.  
  70.